{extend name="main"}
{block name="style"}
{/block}
{block name="body"}
123
<el-descriptions class="margin-top" title="带边框列表" :column="3" :size="size">
    <template slot="extra">
        <el-button type="primary" size="small">操作</el-button>
    </template>
    <el-descriptions-item>
        <template slot="label">
            <i class="el-icon-user"></i>
            用户名
        </template>
        kooriookami
    </el-descriptions-item>
    <el-descriptions-item>
        <template slot="label">
            <i class="el-icon-mobile-phone"></i>
            手机号
        </template>
        18100000000
    </el-descriptions-item>
    <el-descriptions-item>
        <template slot="label">
            <i class="el-icon-location-outline"></i>
            居住地
        </template>
        苏州市
    </el-descriptions-item>
    <el-descriptions-item>
        <template slot="label">
            <i class="el-icon-tickets"></i>
            备注
        </template>
        <el-tag size="small">学校</el-tag>
    </el-descriptions-item>
    <el-descriptions-item>
        <template slot="label">
            <i class="el-icon-office-building"></i>
            联系地址
        </template>
        江苏省苏州市吴中区吴中大道 1188 号
    </el-descriptions-item>
</el-descriptions>
{/block}
{block name="script"}
{js href="__PLUGIN_SRC__/Clipboard/clipboard.min.js"}
<script>
    const baseView = { view: XYBase.view, loading: false }
    const vm = new Vue({
        el: '#app',
        data() {
            return {
                /*使用展开运算符导入页面必须配置(不然全写在vm里太啰嗦了)*/
                ...baseView,
                search: {
                    memberName: ''
                },
                drawer: false,
                size: ''
            }
        },
        methods: {
            pullWorkWechat() {
                console.log('pull');
            },
            initHtml() {

            },
            handleClose(done) {
                this.$confirm('确认关闭？')
                    .then(_ => {
                        done();
                    })
                    .catch(_ => { });
            }
        },
        watch: {
            view: XYBase.viewWatch
        },
        created() {
            XYBase.created(this);
        },
    })
</script>
{/block}